package model

import "time"

type Contact struct {
	ID       uint      `gorm:"primaryKey" form:"id" json:"id" uri:"id"`
	Ownerid  int64     `gorm:"bigint(20)" form:"ownerid" json:"ownerid"`
	Dstobj   int64     `gorm:"bigint(20)" form:"dstobj" json:"dstobj"`
	Cate     int       `gorm:"int(11)" form:"cate" json:"cate"`
	Memo     string    `gorm:"varchar(120)" form:"memo" json:"memo"`
	Createat time.Time `gorm:"datetime" form:"createat" json:"createat"`
}

//cate 标记的是用户加用户还是用户加群
const (
	CONCAT_CAT_USER  = 0
	CONCAT_CAT_GROUP = 1
)
